package com.lris.dto;

import cn.hutool.core.date.DateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor //提供所有参数的构造方法
//@NoArgsConstructor//提供没有参数的构造方法
@Schema
public class AddUserFriendDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "添加者id")
    private Long addFromId;

    @Schema(description = "添加者昵称")
    private String addNickname;

    @Schema(description = "添加时间")
    private DateTime addTime;

    @Schema(description = "添加者头像")
    private String headImg;

    @Schema(description = "添加的方式: 100 搜索添加")
    private String msgType;

    @Schema(description = "添加时的备注消息")
    private String remark;

    @Schema(description = "被添加者的ID")
    private Long toId;
}
